package com.bjpowernode.mvc.service.Impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.bjpowernode.db.domain.FinanceAccount;
import com.bjpowernode.mvc.service.BaseService;
import com.bjpowernode.mvc.service.inter.AccountService;
import org.springframework.stereotype.Service;


@Service
public class AccountServiceImpl extends BaseService implements AccountService {
    @Override
    public FinanceAccount queryUserId(Integer userId) {

        QueryWrapper<FinanceAccount> wrapper=new QueryWrapper<>();
        wrapper.eq("uid", userId);
        return accountMapper.selectOne(wrapper);
    }
}
